/**
 * provides an abstraction for nvmem.
 *
 * @file hal_clock.h
 * @author wanger
 *
 * @addtogroup HAL_CLOCK HAL system clock and power operation
 * @ingroup HAL
 * @{
 */

#ifndef __CLOCK_H
#define __CLOCK_H

#include <data_type_def.h>
/**
 * start xt1 clock , set mcu frequency
 *
 * @param frequency mcu frequency
 */
void clk_init(uint8_t frequency);

void wdt_clear(void);
void wdt_stop(void);

#endif

/**
 * @}
 */